package com.example.demo.sys.role.service;

import com.example.demo.base.BaseService;
import com.example.demo.sys.role.dao.SysRoleMenuDao;
import com.example.demo.sys.role.entity.SysRoleMenu;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author haocj
 * 角色权限service
 */
@Service
public class SysRoleMenuService extends BaseService<SysRoleMenu, SysRoleMenuDao> {

    @Resource
    private SysRoleMenuDao sysRoleMenuDao;

    /**
     * in查询
     *
     * @param ids
     * @return
     */
    public List<SysRoleMenu> findRoleMenuList(List<String> ids) {
        return sysRoleMenuDao.findRoleMenuList(ids);
    }

}
